package com.punch.common.query.registration;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.punch.common.query.QueryInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaol
 * @date 2020/7/29 23:16
 */
@Data
@ApiModel("报名情况条件查询")
public class RegistrationQueryInfo extends QueryInfo {

    @ApiModelProperty("课程id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long classId;

    private String studentName;

    @ApiModelProperty("学生id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long studentId;
}